home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
dosguide.exe
/
HELPDOS.ZIP
/
RENAME.HLP
< prev
next >
Wrap
Text File
|
1987-04-05
|
2KB
|
47 lines
----------------------- RENAME - Internal DOS Command ------------------------
RENAME changes the name of a file. Only the directory entry for the renamed
file is changed. The file remains in the same directory on the same disk
after the name is changed.
FORMAT: RENAME [d:][path]filename1[.ext1] filename2[.ext2]
REMARKS:
d: - the drive letter. If omitted the default drive is assumed.
path - the directory path of the file to be renamed. If omitted the
current directory is assumed.
filename1 - the filename of file to be renamed.
.ext1 - the filename extension of the file to be renamed.
filename2 - the new filename of the file.
.ext2 - the new filename extension of the file.
Global characters (* and ?) may be used in the filenames and extensions to
rename multiple files with one command.
Subdirectories cannot be renamed.
RENAME may be abbreviated REN.
EXAMPLES:
Rename the file ABC to XYZ. ABC is in the current directory on the default
drive:
RENAME ABC XYZ
Rename all files in the current directory on the default drive that have the
filename extension .CUR. Retain the original filenames but change the
extensions to .OLD:
RENAME *.CUR *.OLD
Rename MYFILE to YOURFILE. MYFILE is on drive B in the directory MEMOS. MEMOS
is a subdirectory of the root directory. The current drive is A:
RENAME B:\MEMOS\MYFILE YOURFILE